/*
 * Copyright (c) 2005 -2008 Reliable Source, Inc. and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Mozilla Public License v.1.1,
 * BSD, and Eclipse Public License v1.0 which accompanies this
 * distribution and is available at:
 *
 * 		http://www.eclipse.org/legal/epl-v10.html
 * 		http://www.opensource.org/licenses/bsd-license.php
 * 		http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * Contributors:
 *     IBM Corporation	     -  http://ibm.com
 *     	- initial API and implementation
 *
 *     Reliable Source, Inc. - http://reliablesource.org
 *
 */
package org.reliablesource.model.core;

import java.util.Observable;
import java.util.Observer;


/**
 * 
 * ReliableModel.java<br>
 * Created on: Mar 11, 2006<br>
 *
 * @author <a href="mailto:dennis.park@gmail.com">Dennis Park</a>
 *
 * @category
 * @since 1.0
 * @model
 */
final class ReliableModel extends ReliableNode implements IReliableModel, Observer {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4533496601327059566L;

	ReliableModel() {
		super();
		setParent(this);
	}


	/*
	 * (non-Javadoc)
	 * @see java.util.Observer#update(java.util.Observable, java.lang.Object)
	 */
	public void update(Observable arg0, Object _updateObject) {
	    
		// just forward to model's subscribers
		notifyObservers(_updateObject);
	}
}
